:root {
  --main-color: #5c6bc0;
  --main-color-hover: #6474ce;
}

body {
  background-color: #f0f0f0;
}

* {
  margin: 0;
  padding: 0;
}

.icon {
  width: 40px;
  height: 40px;
}

#app {
  height: 100vh;
  width: 70vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

#upload {
  width: 50vw;
  max-width: 80%;
  height: 70vh;
  max-height: 530px;
  background-color: white;
  border: 1px solid rgb(220, 220, 220);
  border-radius: 6px;
  z-index: 5;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: 0.4s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#upload iframe {
  position: relative;
}

#upload .close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.upload-disable {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
}

@media screen and (max-width: 800px) {
  #app {
    width: 100vw;
    float: none;
  }

  #upload {
    width: 100vw;
    float: none;
  }
}

.list {
  flex: 1 1 0;
  overflow-y: auto;
}

.head-box {
  position: sticky;
  top: 10px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  box-sizing: border-box;
  padding: 5px 2vw;
  background-color: #fff;
}

.head-box .filter {
  margin-right: 2vw;
}

.icon {
  width: 40px;
  height: 40px;
}

.icon-2 {
  width: 30px;
  height: 30px;
}

.list .table {
  width: 100%;
}

.title {
  color: white;
  font-weight: bold;
  font-size: 20px;
  background-color: var(--main-color);
  line-height: 3;
  text-align: center;
}

.title .right {
  float: right;
  margin-right: 10px;
  height: 100%;
}

.title .left {
  float: left;
  margin-left: 10px;
  height: 100%;
}

.filename {
  cursor: pointer;
}

.filename:hover {
  color: var(--main-color);
  text-decoration: underline dotted var(--main-color);
}

.button-white {
  display: inline-block;
  background-color: #e9e9e9;
  color: var(--main-color);
  border-radius: 5px;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  padding: 4px 9px;
  cursor: pointer;
}

.button {
  display: inline-block;
  color: white;
  background-color: var(--main-color);
  border-radius: 5px;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  padding: 4px 9px;
  cursor: pointer;
}

.directorty-button {
  width: 98px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  padding: 0px;
}

.folder-button .el-button--primary {
  color: var(--main-color);
  background-color: #ffffff;
  border-color: var(--main-color);
}

.fill-scroll-icon {
  position: absolute;
  top: 76px;
  right: 42px;
  width: 25px;
  height: 25px;
  cursor: pointer;
  transition: 0.3s;
  opacity: 0.7;
}
.fill-scroll-icon2 {
  position: absolute;
  top: 76px;
  right: 75px;
  width: 25px;
  height: 25px;
  cursor: pointer;
  transition: 0.3s;
  opacity: 0.7;
}
.encode {
  position: absolute;
  bottom: 27px;
  right: 42px;
  cursor: pointer;
  transition: 0.3s;
  opacity: 0.7;
  text-align: center;
  font-size: 10px;
  color: white;
  background-color: #00000000;
  border: none;
}
.encode option {
  color: white;
  background-color: #00000000;
}

.fill-scroll-icon:hover,
.fill-scroll-icon2:hover,
.encode:hover {
  transform: scale(1.07);
  opacity: 1;
}
#fill-scroll-dialog .el-dialog__body {
  padding: 14px 20px;
}

.upload-file-mask {
  z-index: 10;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  font-size: 25px;
  pointer-events: none;
}
.upload-file-mask-show {
  transition: 0.3s;
  opacity: 1;
}
.no-select {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
